<?php session_start();
    if(isset($_SESSION['id'])){header("Location:../admin/views/index.php");}
?>
<?php
    include_once '../config/info.php';
    include_once '../languages/vietnam.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="<?php echo $sitename ?>" content="piochino" />
	<title><?php echo $dercription ?></title>
</head>

<body>
<style type="text/css">
/**********RESET***********/
html,body{
	margin:0px;
  padding:0px;
}
h1{
	text-transform:uppercase;
  color:red;
}
p{
  text-transform:uppercase;
	font-size:1.1em;
  color:blue;
  font-weight:bold;
}
/********LOGIN********/
#login{
  width:555px;
 	height:333px;
 	margin: 150px auto;
  border:2px solid #D6D8D9;
  text-align:center;
}
/********table********/
#login .tab_login{
  width:333px;
  height:111px;
  margin:10px auto;
  border: 1px solid #D4D9D9;
}
/********BUTTON********/
.button{
	background:#D6D7D9;
  font-size:15px;
  margin:5px auto;
}





</style>
    <div id="login">
    <h1><?php echo $lbl_login_system?></h1>
        <table id="tab_login" class="tab_login">
            <form action="models/login.model.php" method="POST">
                <tr>
                    <td><?php echo "<p>".$lbl_user."</p>";?></td>
                    <td><input type="text" name="user"/></td>
                </tr>
                <tr>
                    <td><?php echo "<p>".$lbl_pass."</p>"?></td>
                    <td><input type="password" name="pass"/></td>
                </tr>
                <tr>
                    <td colspan="2"><input type="submit" value="login" name="login" class="button"/></td>
                </tr>       
            </form>
        </table>
    </div>
</body>
</html>